#ifndef __MODULE_H
#define __MODULE_H

#include "bsp.h"
#include "device.h"
#include "lib.h"


#include "gimbal.h"
#include "emission.h"
#include "master.h"

#define     MODULE_ENABLE      1
#define     MODULE_DISABLE     0

#define     MODULE_CHASSIS     	MODULE_DISABLE      //底盘模块
#define     MODULE_GIMBAL       MODULE_ENABLE      	//云台模块
#define     MODULE_EMISSION     MODULE_ENABLE      	//发射模块
#define     MODULE_MASTER       MODULE_ENABLE      	//主控模块

extern uint8_t  ms_count;
extern uint16_t ms5_count;
extern uint8_t  ms10_count;
extern uint8_t  ms20_count;
extern uint16_t ms300_count;
extern uint16_t ms500_count;
extern volatile unsigned long long FreeRTOSRunTimeTicks;

void ConfigureTimeForRunTimeStats(void);
void MC_CANFilterInit(void);
void Modules_Init(void);


#endif
